using System;
using Microsoft.SPOT;

namespace Netduino.Sensor.Json
{
    /// <summary>
    /// Defines an object that is serializable to JSON
    /// </summary>
    internal interface IJsonSerializable
    {
        /// <summary>
        /// Serializes this object to JSON.
        /// </summary>
        /// <param name="sample"></param>
        /// <returns></returns>
        String ToJson();
    }
}
